package com.ilink.ilinkuser;

import com.ilink.ilinkuser.config.OAuth2Properties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <h3>${PROJECT_NAME}</h3>
 *
 * @author LiuZheng
 * @description <p>${description}</p>
 * @date ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}
 **/
@EnableFeignClients(basePackages = "com.ilink.ilinkapi.client")
@SpringBootApplication(scanBasePackages = {"com.ilink.ilinkcommon", "com.ilink.ilinkuser"})
@MapperScan("com.ilink.ilinkuser.mapper")
@EnableConfigurationProperties(OAuth2Properties.class)
public class IlinkUserApplication {

    public static void main(String[] args) {
            SpringApplication.run(IlinkUserApplication.class, args);

    }
}